package com.m4399.minigamedemo

import android.app.Activity
import android.os.Bundle

/**
 * Description: TODO.
 *
 * @author  wang.zhiwei
 * @date    2024年03月13日 17:58
 *
 * Copyright (c) 2024年, 4399 Network CO.ltd. All Rights Reserved.
 */
class EmptyShareActivity : Activity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        MiniGameApplication.shareSource = intent.getIntExtra("shareSource",-1)
        WxShareUtils.share(MiniGameApplication.instance, intent.getStringExtra("shareConfig") ?: "{}")
        finish()
    }
}